
<?php //$Id: invite.php 94 2006-12-10 21:56:21Z heinz $

require_once('../config.php');
require_once('./uuid.php');
require_once('./lib.php');

// Constants
define("BR", "<br/><br/>");

$inviteesnames = required_param('userid', PARAM_RAW);
$token = required_param('ticket', PARAM_RAW);
$moderated = optional_param('moderated',false,PARAM_RAW);

print(get_flashwrapper("chatClient", $CFG->red5_url, $token, $USER->firstname." ".$USER->lastname, $inviteesnames, "invitor", $moderated));

print "moderated=" . $moderated;

?>

